package com.caipos.mqtt.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.util.List;

@Data
public class MqttNodeData {
    @JSONField(name="ndid")
    private String ndid;

    @JSONField(name="sensor")
    private List<MqttSensorData> sensordatalist;

    @Override
    public String toString() {
        return "MqttNodeData{" +
                "ndid='" + ndid + '\'' +
                ", sensordatalist=" + sensordatalist +
                '}';
    }
}
